﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Entity.MeadingManage
{
    /// <summary>
    /// 生产报工表
    /// </summary>
    public class MeadingReport
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        /// <summary>
        /// 报工编号
        /// </summary>
        public string ReportCode { get; set; }

        /// <summary>
        /// 报工类型
        /// </summary>
        public string ReportType { get; set; }

        /// <summary>
        /// 工作站
        /// </summary>
        public string WorkStation { get; set; }

        /// <summary>
        /// 工序
        /// </summary>
        public string Process { get; set; }

        /// <summary>
        /// 报工编码
        /// </summary>
        public string MeadingCode { get; set; }

        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 颜色
        /// </summary>
        public string Color { get; set; }

        /// <summary>
        /// 尺寸
        /// </summary>
        public string Size { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }

        /// <summary>
        /// 报工人
        /// </summary>
        public string Reporter { get; set; }

        /// <summary>
        /// 报工日期
        /// </summary>
        public DateTime ReportDate { get; set; }

        /// <summary>
        /// 检查人
        /// </summary>
        public string CheckMan { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Descs { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
    }
}
